<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:fragment="head(title)">
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title th:text="${title}">博客</title>
    <link rel="stylesheet" th:href="@{/font-awesome/css/font-awesome.min.css}">
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}" />
    <link rel="stylesheet" th:href="@{/css/master.css}" />
    <link rel="stylesheet" th:href="@{/css/gloable.css}" />
</head>
<body>

<header th:fragment="header" class="gird-header">
    <div class="header-fixed">
        <div class="header-inner">
            <a th:href="@{/blog/index}" class="header-logo" id="logo">Z-BLOG</a>
            <nav class="nav" id="nav">
                <ul>
                    <li><a th:href="@{/admin/index}">首页</a></li>
                    <li><a th:href="@{/admin/blog/main}">博客</a></li>
                    <li><a th:href="@{/admin/type/main}">类型</a></li>
                    <li><a th:href="@{/admin/tag/main}">标签</a></li>
                    <li><a th:href="@{/admin/message/main}">留言</a></li>
                </ul>
            </nav>

            <a class="phone-menu">
                <i></i>
                <i></i>
                <i></i>
            </a>
        </div>
    </div>
</header>

</body>
</html>